//
// Created by apple on 2021/5/28.
//
#include <iostream>
#include "breadth_first_search.h"
#include "set"

int main()
{
    int V(5);
    Graph g(V);     // create graph
    set<int> edgeInput[V];
    edgeInput[0].insert({1, 2});
    edgeInput[1].insert({3, 4});
    for (int i = 0; i < V; ++i) {
        for (auto it = edgeInput[i].begin(); it != edgeInput[i].end(); ++it) {
            g.addEdge(i, *it);     // insert edge
        }
    }

    return 0;
}